//
//  FanInfoTableViewCell.m
//  ForengnMenu
//
//  Created by @-@ on 16/1/23.
//  Copyright © 2016年 余旺. All rights reserved.
//

#import "FanInfoTableViewCell.h"

@implementation FanInfoTableViewCell

- (void)awakeFromNib {

    self.fanInfoImageView.layer.cornerRadius = self.fanInfoImageView.layer.frame.size.width/2.0f;
    
    self.fanInfoImageView.layer.masksToBounds = YES;
}
- (IBAction)guanZhuAction:(id)sender {
    
    
    if ([self.guanZhuBtn.titleLabel.text isEqualToString:@"关注"]) {
        [self.guanZhuBtn setTitle:@"已关注" forState:UIControlStateNormal];
        [self.guanZhuBtn setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
    }else{
        [self.guanZhuBtn setTitle:@"关注" forState:UIControlStateNormal];
        [self.guanZhuBtn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
